package com.atguigu.reflect;

/**
 * Created by Smexy on 2024/4/1
 */
public class Demo18GetInheritedAnnotation {

    public static void main(String[] args) {
        Demo13MyAnnotation annotation = Demo17ExtendsDemo14.class.getAnnotation(Demo13MyAnnotation.class);
        System.out.println("annotation = " + annotation);
    }

}
